import request from '@/utils/request'

// 查询日入库量列表
export function listDayenter(query) {
  return request({
    url: '/statistic/dayenter/list',
    method: 'get',
    params: query
  })
}

// 查询日入库量详细
export function getDayenter(dayEnterStatisticId) {
  return request({
    url: '/statistic/dayenter/' + dayEnterStatisticId,
    method: 'get'
  })
}

// 新增日入库量
export function addDayenter(data) {
  return request({
    url: '/statistic/dayenter',
    method: 'post',
    data: data
  })
}

// 修改日入库量
export function updateDayenter(data) {
  return request({
    url: '/statistic/dayenter',
    method: 'put',
    data: data
  })
}

// 删除日入库量
export function delDayenter(dayEnterStatisticId) {
  return request({
    url: '/statistic/dayenter/' + dayEnterStatisticId,
    method: 'delete'
  })
}
